Part Number Hot Search : 
KE39A M512800 KMS231G LAS1818 A1515 BC6033PQ 78L18 M62356P
Product Description
Full Text Search
 

To Download ADUC842 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 PRELIMINARY TECHNICAL DATA
a
(R) ADUC842 MicroConverter , 12- Bit ADCs and DACs with Embedded Hi-Speed 62KB FLASH MCU
Preliminary Technical Data
FEATURES PIN COMPATABLE Upgrade to ADuC812/ADuC832 INCREASED PERFORMANCE Single Cycle 16MIPS 8052 core High Speed 400kSPS 12-Bit ADC INCREASED MEMORY 62Kbytes On-Chip Flash/EE Program Memory 4KBytes On-Chip Flash/EE Data Memory In circuit re-programmable Flash/EE, 100 Yr Retention, 100 Kcycles Endurance 2304 Bytes On-Chip Data RAM SMALLER PACKAGE Available in 8mm x 8mm Chip Scale Package Also available in 52 pin PQFP - pin compatable with ADuC812/ADuC831 ANALOG I/O 8-Channel, 400kSPS High Accuracy, 12-Bit ADC On-Chip, 20 ppm/ o C Voltage Reference DMA Controller, High-Speed ADC-to-RAM capture Two 12-Bit Voltage Output DACs Dual Output PWM-SD DACs On-Chip Temperature Monitor Function 8051 Based Core 8051-Compatible Instruction Set (16.7 MHz Max) High performance Single Cycle Core* 32kHz Ext Crystal,On-Chip Programmable-PLL 12 Interrupt Sources, Two Priority Levels Dual Data Pointers, Extended 11-bit Stack Pointer On-Chip Peripherals Time Interval Counter (TIC) UART, I2C and SPI (R) Serial I/O Watchdog Timer (WDT), Power Supply Monitor (PSM) Power Normal: 6mA @ 5 V (Core CLK = 2.098 MHz) Power-Down: 15A @ 3 V Development Tools Low Cost, comprehensive development system incorporating non-intrusive single pin emulation IDE based, assembly and C source debug APPLICATIONS Optical Networking - Laser Power Control Basestation Systems Precision Instrumentation, Smart Sensors Transient Capture Systems DAS and Communications Systems
MicroConverter is a registered trademark of Analog Devices, Inc. SPI is a registered trademark of Motorola Inc. * 68% of insturctions completed in one or two clock cycles
ADUC842
FUNCTIONAL
ADUC842
12-B T I D AC
BU F
D AC
BLOCK
DIAGRAM
A D C0 A D C1 . . .
MU X
T/H
4 0 0 K SP S 12 -B IT A D C
12-B T I D AC
16-BIT DAC
BU F
D AC
A D C5 A D C6 A D C7
H AR D W AR E C AL IBR A TIO N
16-BIT DAC
P WM 0
MU X
PW M1
16-BIT PW M
16-BIT PWM
TEM P S EN SO R
P LL
16 MIP S 8 0 51 -B AS ED MC U WITH AD D IT IO NA L PE RIP H ER AL S 6 2 K BY TES FL A SH /EE PR O GR AM M EMO RY 4 KB YTES FLA SH /E E DA TA MEM O R Y 2 3 04 BY TE S US ER R AM
3 x 1 6 B IT TIM ER S 1 x R E AL TIM E C L O C K
IN TE R N AL BA N DG AP V R EF
OSC
PO W ER S UP PL Y M O N WA TC H DO G TIME R
U A RT , I2 C AN D SPI S ER IA L I/O
4 x P AR A L LE L P O R TS
VR E F
X TAL 1
XT AL 2
GENERAL DESCRIPTION
The ADUC842 is a complete smart transducer front-end, integrating a high-performance self calibrating multichannel ADC, dual DAC and an optimized single cycle 16MHz 8-bit MCU(8051 instruction set compatible) on a single chip. The device operates from a 32 kHz crystal with an on-chip PLL generating a high-frequency clock of 16.77MHz. This clock is, in turn, routed through a programmable clock divider from which the MCU core clock operating frequency is generated. The microcontroller is an optimized 8052 core offering up to 16 MIPS peak performance. 62 Kbytes of nonvolatile Flash/EE program memory are provided on-chip. 4 Kbytes of nonvolatile Flash/EE data memory, 256 bytes RAM and 2 KBytes of extended RAM are also integrated on-chip. The ADUC842 also incorporates additional analog functionality with two 12-bit DACs, power supply monitor, and a bandgap reference. On-chip digital peripherals include two 16-bit DACs, dual output 16-bit PWM, watchdog timer, time interval counter, three timers/counters, and three serial I/O ports (SPI, I2C and UART). On the ADuC812 and ADuC832 the I2C and SPI interfaces shared some of the same pins. For backwards compatability this is also the case for the ADUC842. However, there is also the option to allow SPI operate separately on P3.3, P3.4 and P3.5 while I2C uses the standard pins. The I2C interface has also been enhanced to offer repeated start, general call and quad addressing. On-chip factory firmware supports in-circuit serial download and debug modes (via UART), as well as single-pin emulation mode via the EA pin. A functional block diagram of the ADUC842 is shown above. The part is specified for 3V and 5V operation with a maximum operating frequency of 16.777MHz.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A Tel: 781/329-4700 www.analog.com Fax: 781/326-8703 (c) Analog Devices, Inc., 2003
REV. PrB
Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices.
ADUC842-SPECIFICATIONS1 T (AV to 5.5V. V = 2.5 V Internal Reference, Fcore = 16.777 MHz, All specifications = T
REF A
PRELIMINARY TECHNICAL DATA
DD
= DVDD = 2.7V to 3.3V or 4.5V
MIN to TMAX, unless otherwise noted.)
Parameter ADC CHANNEL SPECIFICATIONS DC ACCURACY 2,3 Resolution Integral Nonlinearity Differential Nonlinearity Integral Nonlinearity 9 Differential Nonlinearity 9 Code Distrbution CALIBRATED ENDPOINT ERRORS4,5 Offset Error Offset Error Match Gain Error Gain Error Match DYNAMIC PERFORMANCE Signal-to-Noise Ratio (SNR) 6 Total Harmonic Distortion (THD) Peak Harmonic or Spurious Noise Channel-to-Channel Crosstalk 7 ANALOG INPUT Input Voltage Ranges Leakage Current Input Capacitance TEMPERATURE SENSOR 8 Voltage Output at 25C Voltage TC Accuracy Accuracy DAC CHANNEL SPECIFICATIONS Internal Buffer Enabled DC ACCURACY 10 Resolution Relative Accuracy Differential Nonlinearity 11 Offset Error Gain Error Gain Error Mismatch
VDD = 5 V
VDD = 3 V
Unit
Test Conditions/Comments
fSAMPLE = 147 kHz, 12 1 0.3 0.9 0.25 1.5 +1.5/-0.9 1 2 1 2 -85 12 1 0.3 0.9 0.25 1.5 +1.5/-0.9 1 3 1 3 -85 Bits LSB LSB LSB LSB LSB LSB LSB max typ max typ max max typ 2.5V Internal Reference 2.5V Internal Reference 1V External Reference 1V External Reference ADC Input is a DC Voltage
LSB max LSB typ LSB max dB typ fIN = 10 kHz Sine Wave fSAMPLE = 147 kHz
71 -85 -85 -80 0 to VREF 1 32 650 -2.0 3 1.5
71 -85 -85 -80 0 to VREF 1 32 650 -2.0 3 1.5
dB dB dB dB
typ typ typ typ
Volts A max pF typ mV typ mV/C typ C typ C typ
Internal 2.5V VREF External 2.5V V REF DAC Load to AGND RL = 10k, CL = 100 pF
12 3 -1 50 1 1 0.5 0 to VREF 0 to VDD 0.5 50 15 10
12 3 -1 1/2 50 1 1 0.5 0 to VREF 0 to VDD 0.5 50 15 10
Bits LSB typ LSB max 1/2 mV max % max % typ % typ V typ V typ typ A typ s typ nV sec typ
Guaranteed 12-Bit Monotonic LSB typ V REF Range AV DD Range VREF Range % of Full-Scale on DAC1 DAC VREF = 2.5V DAC VREF = VDD
ANALOG OUTPUTS Voltage Range_0 Voltage Range_1 Output Impedance I SINK DAC AC CHARACTERISTICS Voltage Output Settling Time Digital-to-Analog Glitch Energy
Full-Scale Settling Time to Within 1/2 LSB of Final Value 1 LSB Change at Major Carry
-2-
REV. PrB
PRELIMINARY TECHNICAL DATA ADUC842
Parameter DAC CHANNEL SPECIFICATIONS Internal Buffer Disabled DC ACCURACY 10 Resolution Relative Accuracy Differential Nonlinearity 11 Offset Error Gain Error Gain Error Mismatch ANALOG OUTPUTS Voltage Range_0 REFERENCE INPUT/OUTPUT REFERENCE OUPUT 14 Output Voltage (VREF) Accuracy Power Supply Rejection Reference Temperature Coefficient Internal VREF Power-On Time EXTERNAL REFERNCE INPUT 15 Voltage Range (V REF)9 Input Impedance Input Leakage POWER SUPPLY MONITOR (PSM) DVDD Trip Point Selection Range DVDD Power Supply Trip Point Accuracy WATCH DOG TIMER (WDT) Time-out Period
9
VDD = 5 V
12,13
VDD = 3 V
Unit
Test Conditions/Comments
12 3 -1 1/2 10 1 0.5 0 to VREF
12 3 -1 1/2 10 1 0.5 0 to VREF
Bits LSB typ LSB max LSB typ mV max % typ % typ V typ
Guaranteed 12-Bit Monotonic V REF Range VREF Range % of Full-Scale on DAC1 DAC VREF = 2.5V
2.5 2.5 47 20 80 0.1 V DD 20 10
2.5 2.5 57 20 80 0.1 V DD 20 10
V % max dB typ ppm/C typ ms typ V min V max k typ A max
Of VREF measured at the CREF pin
Internal Band Gap Deselected via ADCCON1.6
2.63 4.37
Vmin Vmax
Four Trip Points Selectable in This Range Programmed via TPD1-0 in PSMCON
3.5 0 2000 0 2000
% max ms min ms max. Nine Time-out Periods Selectable in This Range
FLASH/EE MEMORY RELIABILITY CHARACTERISTICS 16 Endurance17 100,000 Data Retention18 100 DIGITAL INPUTS Input High Voltage (VINH) 2.4 Input Low Voltage (VINL) 0.8 Input Leakage Current (Port 0,1, EA) 10 1 Logic 1 Input Current (All Digital Inputs) 10 1 Logic 0 Input Current (Port 2, 3) -80 -40 Logic 1-0 Transition Current (Port 2, 3) -700 -400 CRYSTAL OSCILLATOR Logic Inputs, XTAL1 Only VINL, Input Low Voltage VINH, Input High Voltage REV. PrB
100,000 100
Cycles min Years min V min V max A max A typ A A A A A A max typ max typ max typ
1
VIN = 0 V or VDD VIN = 0 V or VDD VIN = VDD VIN = VDD VIL = 0 V VIL = 2 V VIL = 2 V
1 -40 -400
0.8 3.5
0.4 2.5 -3-
V typ V typ
ADUC842-SPECIFICATIONS1
Parameter XTAL1 Input Capacitance XTAL2 Output Capacitance MCU Clock Rate DIGITAL OUTPUTS Output High Voltage (VOH) V DD =5V 18 18 16.777216 2.4 4.0 Output Low Voltage (VOL) ALE, Ports 0 and 2 Port 3 SCLOCK/SDATA V DD =3V 18 18 16.777216 2.4 2.6
PRELIMINARY TECHNICAL DATA
Units pF typ pF typ MHz max V min V typ VDD = 4.5 V ISOURCE = 80 VDD = 2.7 V ISOURCE = 20 ISINK ISINK ISINK ISINK = = = = to 5.5 V A to 3.3 V A Test Conditions
0.4 0.2 0.4 0.4
0.4 0.2 0.4 0.4
V max V typ Vmax Vmax
1.6 mA 1.6 mA 4 mA 8 mA
Floating State Leakage Current Floating State Output Capacitance
10 1 10
10 1 10
A max A typ pF typ Core CLK = 16MHz
START UP TIME At Power-On 500 From Idle Mode 100 From Power-Down Mode Wakeup with INT0 Interrupt 150 150 Wakeup with SPI/I2C Interrupt Wakeup with External RESET 150 After External RESET in Normal Mode 3 After WDT Reset in Normal Mode 3 POWER REQUIREMENTS Power Supply Voltages AVDD / DVDD - AGND
19,20
500 100 400 400 400 3 3
ms typ s typ ms ms ms ms ms typ typ typ typ typ
Controlled via WDCON SFR
2.7 3.3 4.5 5.5
V V V V
min. max. min. max.
AVDD / DVDD = 3V nom. AVDD / DVDD = 5V nom.
Power Supply Currents Normal Mode DVDD Current9 AVDD Current9 DVDD Current AVDD Current Power Supply Currents Idle Mode DVDD Current9 AVDD Current9 DVDD Current9 AVDD Current9
12 1.4 25 21 1.4
6 1.4 n/a n/a n/a
mA mA mA mA mA
typ max max typ max
Fcore = 8 MHz (CD=3) Fcore = 16 MHz (CD=0)
5 0.11 11 10 0.11
2.5 0.11 n/a n/a n/a
mA mA mA mA mA
typ typ max typ typ
Fcore = 8 MHz (CD=3) Fcore =16 MHz (CD=0)
Power Supply Currents Power Down Mode 3 AVDD Current DVDD Current 35 25 120 Typical Additional Power Supply Currents PSM Peripheral ADC DAC
For any Core CLK 2.5 15 12 120 uA uA uA uA typ max typ typ osc off osc on AVDD = DVDD = 5V
50 1.5 150 -4-
uA typ mA typ uA typ REV. PrB
PRELIMINARY TECHNICAL DATA ADUC842
NOTES 1 Temperature Range -40C to +85C. 2 ADC Linearity is guaranteed during normal MicroConverter Core operation. 3 ADC LSB Size = Vref / 2^12 i.e for Internal Vref=2.5V, 1LSB = 610uV and for External Vref =1V, 1LSB = 244uV. 4 Offset and Gain Error and Offset and Gain Error Match are measured after factory calibration. 5 Based on external ADC system components the user may need to execute a system calibration to remove additional external channel errors and achieve these specifications. 6 SNR calculation includes distortion and noise components. 7 Channel to Channel Crosstalk is measured on adjacent channels. 8 The Temperature Monitor will give a measure of the die temperature directly, air temperature can be inferred from this result. 9 These numbers are not production tested but are guaranteed by Design and/or Characterization data on production release. 10 DAC linearity is calculated using : reduced code range of 48 to 4095, 0 to Vref range. reduced code range of 48 to 3945, 0 to V DD range. DAC Output Load = 10K Ohms and 100 pF. 11 DAC Differential NonLinearity specified on 0 to Vref and 0 to Vdd ranges 12 DAC specification for output impedance in the unbuffered case depends on DAC code 13 DAC specifications for Isink, voltage output settling time and digital-to-analog glitch engergy depend on external buffer implementation in unbuffered mode. 14 Measured with Vref and Cref pins decoupled with 0.1F capacitors to graound. Power-up time for the Internal Reference will be determined by the value of the decoupling capacitor chosen for both the Vref and Cref pins. 15 When using an External Reference device, the internal bandgap reference input can be bypassed by setting the ADCCON1.6 bit. In this mode the Vref and Cref pins need to be shorted together for correct operation. 16 Flash/EE Memory Reliability Characteristics apply to both the Flash/EE program memory and the Flash/EE data memory. 17 Endurance is qualified to 100 Kcycles as per JEDEC Std. 22 method A117 and measured at -40C, +25C, and +85C, typical endurance at 25C is 700 Kcycles. 18 Retention lifetime equivalent at junction temperature (Tj) = 55C as per JEDEC Std. 22 method A117. Retention lifetime based on an activation energy of 0.6eV will derate with junction temperature as shown in Figure 27 in the Flash/EE Memory description section of this data sheet. 19 Power Supply current consumption is measured in Normal, Idle, and Power-Down Modes under the following conditions: Normal Mode: Reset = 0.4 V, Digital I/O pins = open circuit, Core Clk changed via CD bits in PLLCON, Core Executing internal software loop. Idle Mode: Reset = 0.4 V, Digital I/O pins = open circuit, Core Clk changed via CD bits in PLLCON, PCON.0=1, Core Execution suspended in idle mode. Power-Down Mode: Reset = 0.4 V, All Port 0 pins = 0.4 V, All other digital I/O and Port 1 pins are open circuit, Core Clk changed via CD bits in PLLCON, PCON.0=1, Core Execution suspended inpower-down mode, OSC turned ON or OFF via OSC_PD bit (PLLCON.7) in PLLCON SFR 20 D VDD power supply current will increase typically by 3 mA (3 V operation) and 10 mA (5 V operation) during a Flash/EE memory program or erase cycle. Specifications subject to change without notice.
REV. PrB
-5-
PRELIMINARY TECHNICAL DATA ADUC842
ABSOLUTE MAXIMUM RATINGS*
(T A = 25C unless otherwise noted)
AVDD to DV DD . . . . . . . . . . . . . . . . . . -0.3 V to +0.3 V AGND to DGND . . . . . . . . . . . . . . . . . -0.3 V to +0.3 V DVDD to DGND, AVDD to AGND . . . . -0.3 V to +7 V Digital Input Voltage to DGND -0.3 V, DVDD + 0.3 V Digital Output Voltage to DGND -0.3 V, DVDD + 0.3 V VREF to AGND . . . . . . . . . . . . . . . -0.3 V, AVDD + 0.3 V Analog Inputs to AGND . . . . . . . -0.3 V, AVDD + 0.3 V Operating Temperature Range Industrial ADUC842BS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -40C to +85C Operating Temperature Range Industrial ADUC842BCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -40C to +85C Storage Temperature Range . . . . . . . . -65C to +150C Junction Temperature . . . . . . . . . . . . . . . . . . . . . . . . 150C JA Thermal Impedance (ADuC831BS) . . . . . . . 90C/W JA Thermal Impedance (ADuC831BCP) . . . . . 52C/W Lead Temperature, Soldering Vapor Phase (60 sec) . . . . . . . . . . . . . . . . . . . . . . . 215C Infrared (15 sec) . . . . . . . . . . . . . . . . . . . . . . . . . . 220C
*Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; functional operation of the device at these or any other conditions above those listed in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability.
ORDERING GUIDE
Model ADUC842BS ADUC842BCP
Temperature Range -40C to +85C -40C to +85C
Package Description 52-Lead Plastic Quad Flatpack 56-Lead Chip Scale Package
Package Option S-52 CP-56
CAUTION ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although the ADUC842 features proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high energy electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid performance degradation or loss of functionality.
-6-
Rev.PrB
PRELIMINARY TECHNICAL DATA ADUC842
PIN FUNCTION DESCRIPTIONS
Mnemonic D V DD A V DD C REF V REF
Type Function P P I I/O Digital Positive Supply Voltage, 3 V or 5 V Nominal Analog Positive Supply Voltage, 3 V or 5 V Nominal Decoupling Input for On-Chip Reference. Connect 0.1 F between this pin and AGND. Reference Input/Output. This pin is connected to the internal reference through a series resistor and is the reference source for the analog-to-digital converter. The nominal internal reference voltage is 2.5 V and this appears at the pin. This pin can be overdriven by an external reference. Analog Ground. Ground Reference point for the analog circuitry. Port 1 is an 8-bit Input Port only. Unlike other Ports, Port 1 defaults to Analog Input Mode, to configure any of these Port Pins as a digital input, write a "0" to the port bit. Port 1 pins are multifunction and share the following functionality. Analog Inputs. Eight single-ended analog inputs. Channel selection is via ADCCON2 SFR. Timer 2 Digital Input. Input to Timer/Counter 2. When Enabled, Counter 2 is incremented in response to a 1 to 0 transition of the T2 input. Digital Input. Capture/Reload trigger for Counter 2 and also functions as an Up/Down control input for Counter 2. Slave Select Input for the SPI Interface User Selectable, I2C-Compatible or SPI Data Input/Output Pin Serial Clock Pin for I2C-Compatible or SPI Serial Interface Clock SPI Master Output/Slave Input Data I/O Pin for SPI Interface SPI Master Input/Slave Output Data I/O Pin for SPI Serial Interface Voltage Output from DAC0 Voltage Output from DAC1 Digital Input. A high level on this pin for 24 master clock cycles while the oscillator is running resets the device. Port 3 is a bidirectional port with internal pull-up resistors. Port 3 pins that have 1s written to them are pulled high by the internal pull-up resistors, and in that state they can be used as inputs. As inputs Port 3 pins being pulled externally low will source current because of the internal pullup resistors. Port 3 pins also contain various secondary functions which are described below. PWM Clock Input PMW0 Voltage Output. PWM outputs can be configured to use ports 2.6 & 2.7 or 3.4 and 3.3 PMW1 Voltage Ouput. See CFG832 Register for further Information. Receiver Data Input (Asynchronous) or Data Input/Output (Synchronous) of Serial (UART) Port Transmitter Data Output (Asynchronous) or Clock Output (Synchronous) of Serial (UART) Port Interrupt 0, programmable edge or level triggered Interrupt input, which can be programmed to one of two priority levels. This pin can also be used as a gate control input to Timer 0. Interrupt 1, programmable edge or level triggered Interrupt input, which can be programmed to one of two priority levels. This pin can also be used as a gate control input to Timer 1. Timer/Counter 0 Input Timer/Counter 1 Input Active low Convert Start Logic input for the ADC block when the external Convert start function is enabled. A low-to-high transition on this input puts the track/hold into its hold mode and starts conversion. Write Control Signal, Logic Output. Latches the data byte from Port 0 into the external data memory. Read Control Signal, Logic Output. Enables the external data memory to Port 0. Output of the Inverting Oscillator Amplifier Input to the inverting oscillator amplifier and input to the internal clock generator circuits. Digital Ground. Ground reference point for the digital circuitry. Port 2 is a bidirectional port with internal pull-up resistors. Port 2 pins that have 1s written to them are pulled high by the internal pull-up resistors, and in that state they can be used as inputs. As inputs Port 2 pins being pulled externally low will source current because of the internal pull-up resistors. Port 2 emits the high order address bytes during fetches from external program memory and middle and high order address bytes during accesses to the external 24-bit external data memory space. -7-
AGND P1.0-P1.7
G I
ADC0-ADC7 I T2 I T2EX SS SDATA SCLOCK MOSI MISO DAC0 DAC1 RESET P3.0-P3.7 I I I/O I/O I/O I/O O O I I/O
PWMC PWM0 PWM1 RxD TxD INT0 INT1 T0 T1 CONVST WR RD XTAL2 XTAL1 DGND P2.0-P2.7 (A8-A15) (A16-A23)
I O O I/O O I I I I I O O O I G I/O
REV. PrB
PRELIMINARY TECHNICAL DATA ADUC842
PIN FUNCTION DESCRIPTION (continued)
Mnemonic PSEN
Type Function O Program Store Enable, Logic Output. This output is a control signal that enables the external program memory to the bus during external fetch operations. It is active every six oscillator periods except during external data memory accesses. This pin remains high during internal program execution. PSEN can also be used to enable serial download mode when pulled low through a resistor on power-up or RESET. Address Latch Enable, Logic Output. This output is used to latch the low byte (and page byte for 24-bit address space accesses) of the address into external memory during normal operation. External Access Enable, Logic Input. When held high, this input enables the device to fetch code from internal program memory locations 0000H to 1FFFH. When held low this input enables the device to fetch all instructions from external program memory. This pin should not be left float. Port 0 is an 8-Bit Open Drain Bidirectional I/O port. Port 0 pins that have 1s written to them float and in that state can be used as high impedance inputs. Port 0 is also the multiplexed low order address and data bus during accesses to external program or data memory. In this application it uses strong internal pull-ups when emitting 1s.
ALE EA
O I
P0.7-P0.0
I/O
TERMINOLOGY
ADC SPECIFICATIONS Integral Nonlinearity
This is the maximum deviation of any code from a straight line passing through the endpoints of the ADC transfer function. The endpoints of the transfer function are zero scale, a point 1/2 LSB below the first code transition and full scale, a point 1/2 LSB above the last code transition.
Differential Nonlinearity
amplitude of the fundamental. Noise is the rms sum of all nonfundamental signals up to half the sampling frequency (fS/2), excluding dc. The ratio is dependent upon the number of quantization levels in the digitization process; the more levels, the smaller the quantization noise. The theoretical signal to (noise +distortion) ratio for an ideal N-bit converter with a sine wave input is given by: Signal to (Noise + Distortion) = (6.02N + 1.76) dB Thus for a 12-bit converter, this is 74 dB.
Total Harmonic Distortion
This is the difference between the measured and the ideal 1 LSB change between any two adjacent codes in the ADC.
Offset Error
Total Harmonic Distortion is the ratio of the rms sum of the harmonics to the fundamental.
DAC SPECIFICATIONS Relative Accuracy
This is the deviation of the first code transition (0000 . . . 000) to (0000 . . . 001) from the ideal, i.e., +1/2 LSB.
Gain Error
This is the deviation of the last code transition from the ideal AIN voltage (Full Scale - 1.5 LSB) after the offset error has been adjusted out.
Signal to (Noise + Distortion) Ratio
Relative accuracy or endpoint linearity is a the maximum deviation from a straight line through the endpoints of the DAC transfer measured after adjusting for zero error and ror.
Voltage Output Settling Time
measure of passing function. It is full-scale er-
This is the measured ratio of signal to (noise + distortion) at the output of the A/D converter. The signal is the rms
This is the amount of time it takes for the output to settle to a specified level for a full-scale input change.
Digital-to-Analog Glitch Impulse
This is the amount of charge injected into the analog output when the inputs change state. It is specified as the area of the glitch in nV sec.
-8-
Rev.PrB
PRELIMINARY TECHNICAL DATA ADUC842
PIN CONFIGURATION
' $ 3 ' $ 3 ' $ 3 ' $ 3 ' $ 3 ' $ 3 ' $ 3 ' $ 3 ( / $
7
9 '
' '
' 1 * '
1 ( 6 3
$ (

3 $' & 7 3 $ ' & 7 ( ; 3 $ ' & 3 $ ' & $ 9 '' $* 1' &5 ( ) 95 ( ) '$& '$& 3 $ ' & 3 $ ' & 6 6 3 $ ' &
& ' $ 3
' $ 3
' $ 3
' $ 3
' $ 3
G G 9 '
G Q * '
' $ 3
' $ 3
' $ 3
' $ 3
( / $
1 ( 6 3
$ (

3 ,1 ,'( 1 7,),(5

3 3 : 0 $ $ 3 3 : 0 $ $ 3 $ $ 3 $ $ '* 1' '9' ' ;7$/ ;7$/ 3 $ $ 3 $ $ 3 $ $ 3 $ $ 6 ' $ 7$ 0 2 6 ,
3$'&7(; S$ '& 3 $ '& $9'' $9'' $* 1' $* 1' $* 1' &UHI 9U H I '$& '$& 3 $ '& 3$'&6 6








33:0 $$ 33:0 $$ 3$$ 3$$ '* 1' '*1' '9'' ;7$/ ;7$/ 3$$ 3$$ 3$$ 3$$ 6'$7$ 02 6,
3 ,1 ,'(17,),(5

$'X& 3,1 34)3
72 3 9,(: 1R W WR 6FDOH

$'X& 3,1 &63
723 9,( : 1RW WR 6FD OH


& ' $ 3 7 ( 6 ( 5 ' [ 5 3 ' [ 7 3 7 1 , 3 0 : 3 2 6 , 0 7 1 , 3 9 '
' '














' 1 * '
. / & 7 ; ( 0 : 3 & 0 : 3 7 3
7 6 9 1 2 & 7 3
5 : 3
' 5 3
. & 2 / & 6
& ' $ 3
& ' $ 3
7 ( 6 ( 5
' ; 5 3
' ; 7 3
7 1 , 3
0 : 3 2 6 , 0 7 1 , 3
G G 9 '
G Q * '
. / & 7 ; (
0 : 3 & 0 : 3 7 3
7 6 9 1 2 & 7 3
5 : 3
' 5 3
. & 2 / & 6
ADUC842
$'& $'&
0X[
12-BIT VOLTAGE OUTPUT DAC
DAC CONTROL
DAC0
7+
%LW $'&
ADC CONTROL AND CALIBRATION
12-BIT VOLTAGE OUTPUT DAC
16-BIT DAC
DAC1
$'&
$'&
PWM CONTROL
4% DAC
16-BIT PW M
16-BIT PW M
16-BIT
PWM0
MUX
PWM1
TEMP SENSOR
62 KBYTES PROGRAM FLASH/EE INCLUDING USER DOWNLOAD MODE 4 KBYTES DATA FLASH/EE
256 Bytes USER RAM
T0
BANDGAP REFERENCE
95()
2 KBytes USER XRAM
%8)
16MIPS 8052
MCU CORE
WATCHDOG TIMER
16-BIT COUNTER TIMERS
T1
T2 T2EX
2 X DATA POINTERS 11-BIT STACK POINTER
DOWNLOADER DEBUGGER
POWER SUPPLY MONITOR
PROG. CLOCK DIVIDER
,17
&5()
TIME INTERVAL COUNTER (WAKEUP CCT)
SINGLE-PIN EMULATOR
,17
PLL
325
ASYNCHRONOUS SERIAL PORT (UART)
UART TIMER
SYNCHRONOUS SERIAL INTERFACE (SPI OR I2C )
OSC
SCLOCK
RESET
Figure 1 ADUC842 Block Diagram (Shaded areas are features not present on the ADuC812)
REV. PrB
-9-
SDATA/MOSI
1$ (( 6 3
DGND
DGND
DGND
AGND
XTAL1
DVDD
DVDD
DVDD
MISO
RXD
TXD
AVDD
ALE
XTAL2
6 6
PRELIMINARY TECHNICAL DATA ADUC842
INTRODUCTION
The ADUC842 is a 16MIPs 8052 core upgrade to the ADuC832. It has all the same features as the ADuC832 but the standard 12-cycle 8052 core has been replaced with a 16MIPs single cycle core. Since the ADUC842 and ADuC832 share the same feature set only the differneces bettween the two chips are documented here. For full documentation on the ADuC832 please consult the datasheet available at http://www.analog.com/microconverter 8052 Instruction Set The following pages document the number of clock cycles required for each instruction. Most instructions are executed in one or two clock cycles resulting in a 16MIPs peak peformance when operating at PLLCON = 00H. Timer Operation Timers on a standard 8052 increment by one with each machine cycle. On the ADUC842 one machine cycle is equal to one clock cycle hence the timers will increment at the same rate as the core clock. ALE The output on the ALE pin on the ADuC832 was a clock at 1/6th of the core operating frequency. On the ADUC842 the ALE pin operates as follows. For a single machine cycle instruction: ALE is high for the first half of the machine cycle and low for the second half. The ALE output is at the core operating frequency. For a two or more machine cycle instruction: ALE is high for the first half of the first machine cycle and then low for the rest of the machine cycles. External Memory Access There is no support for external program memory access on the ADUC842. When accessing external RAM the EWAIT register may need to be programmed in order to give extra machine cycles to MOVX commands. This is to account for differing external RAM access speeds. Baud Rate Generation There is an addition divide by two in the fractional divider of the ADUC842 this means that any values calculated for T3CON for the ADuC832 need to be incremented by one in order to give the same baud rate on the ADUC842.
-10-
Rev.PrB
PRELIMINARY TECHNICAL DATA ADUC842
INSTRUCTION TABLE
Mnemonic Arithmetic ADD A,Rn ADD A,@Ri ADD A,dir ADD A,#data ADDC A,Rn ADDC A,@Ri ADDC A,dir ADD A,#data SUBB A,Rn SUBB A,@Ri SUBB A,dir SUBB A,#data INC A INC Rn INC @Ri INC dir INC DPTR DEC A DEC Rn DEC @Ri DEC dir MUL AB DIV AB DA A Logic ANL A,Rn ANL A,@Ri ANL A,dir ANL A,#data ANL dir,A ANL dir,#data ORL A,Rn ORL A,@Ri ORL A,dir ORL A,#data ORL dir,A ORL dir,#data AND register to A AND indirect memory to A AND direct byte to A AND immediate to A AND A to direct byte AND immediate data to direct byte OR register to A OR indirect memory to A OR direct byte to A OR immediate to A OR A to direct byte OR immediate data to direct byte 1 1 2 2 2 3 1 1 2 2 2 3 1 2 2 2 2 3 1 2 2 2 2 3 Add register to A Add indirect memory to A Add direct byte to A Add immediate to A Add register to A with carry Add indirect memory to A with carry Add direct byte to A with carray Add immediate to A with carry Subtract register from A with borrow 1 1 2 2 1 1 2 2 1 1 2 2 2 1 2 2 2 1 2 2 2 1 1 2 2 3 1 1 2 2 9 9 2 Description Bytes Cycles
Subtract indirect memory from A with borrow 1 Subtract direct from A with borrow Subtract immediate from A with borrow Increment A Increment register Increment indirect memory Increment direct byte Increment data pointer Decrement A Decrement Register Decrement indirect memory Decrement direct byte Multiply A by B Divide A by B Decimal Adjust A 2 2 1 1 1 2 1 1 1 1 2 1 1 1
REV. PrB
-11-
PRELIMINARY TECHNICAL DATA ADUC842
XRL A,Rn XRL A,@Ri XRL A,#data XRL dir,A XRL A,dir XRL dir,#data CLR A CPL A SWAP A RL A RLC A RR A RRC A Data Transfer MOV A,Rn MOV A,@Ri MOV Rn,A MOV @Ri,A MOV A,dir MOV A,#data MOV Rn,#data MOV dir,A MOV Rn, dir MOV dir, Rn MOV @Ri,#data MOV dir,dir MOV dir,#data MOV DPTR,#data MOVC A,@A+DPTR MOVC A,@A+PC MOVX A,@Ri MOVX A,@DPTR MOVX @Ri,A MOVX @DPTR,A PUSH dir POP dir XCH A,Rn XCH A,@Ri XCHD A,@Ri XCH A,dir Boolean Move register to A Move indirect memory to A Move A to register Move A to indirect memory Move direct byte to A Move immediate to A Move register to immediate Move A to direct byte Mov register to direct byte Move direct to register Move immediate to indirect memory Move direct byte to direct byte Move immediate to direct byte Move immediate to data pointer Move code byte relative DPTR to A Move code byte relative PC to A Move external (A8) data to A Move external (A16) data to A Move A to external data (A8) Move A to external data (A16) Push direct byte onto stack Pop direct byte from stack Exchange A and register Exchange A and indirect memory Exchange A and indirect memory nibble Exchange A and direct byte 1 1 1 1 2 2 2 2 2 2 2 3 3 3 1 1 1 1 1 1 2 2 1 1 1 2 1 2 1 2 2 2 2 2 2 2 2 3 3 3 4 4 4 4 4 4 2 2 1 2 2 2 Exclusive-OR register to A Exclusive-OR indirect memory to A Exclusive-OR immediate to A Exclusive-OR A to direct byte Exclusive-OR indirect memory to A Exclusive-OR immediate data to direct Clear A Complement A Swap Nibbles of A Rotate A left Rotate A left through carry Rotate A right Rotate A right through carry 1 2 2 2 2 3 1 1 1 1 1 1 1 1 2 2 2 2 3 1 1 1 1 1 1 1
-12-
Rev.PrB
PRELIMINARY TECHNICAL DATA ADUC842
CLR C CLR bit SETB C SETB bit CPL C CPL bit ANL C,bit ANL C,/bit ORL C,bit ORL C,/bit MOV C,bit MOV bit,C Branching JMP @A+DPTR RET RETI ACALL addr11 AJMP addr11 SJMP rel JC rel JNC rel JZ rel JNZ rel DJNZ Rn,rel LJMP LCALL addr16 JB bit,rel JNB bit,rel JBC bit,rel CJNE A,dir,rel CJNE A,#data,rel CJNE Rn,#data,rel CJNE @Ri,#data,rel DJNZ dir,rel Miscellaneous NOP Notes: 1. One cycle is one clock. 2. Cycles of MOVX instructions are 4 cycles when they have 0 wait state. Cycles of MOVX instructions are 4+n cycles when they have n wait states. 3. Cycles of LCALL instruction are 3 cycles when the LCALL instruction comes from interrupt. No operation 1 1 Jump indirect relative to DPTR Return from subroutine Return from interrupt Absolute jump to subroutine Absolute jump unconditional Short jump (relative address) Jump on carry = 1 Jump on carry = 0 Jump on accumulator = 0 Jump on accumulator != 0 Decrement register, jnz relative Long jump unconditional Long jump to subroutine Jump on direct bit = 1 Jump on direct bit = 0 Jump on direct bit = 1 and clear Compare A, direct JNE relative Compare A, immediate JNE relative Compare register, immediate JNE relative Compare indirect, immediate JNE relative Decrement direct byte, JNZ relative 1 1 1 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3 3 4 4 3 3 3 3 3 3 3 3 4 4 4 4 4 4 4 4 4 4 Clear carry Clear direct bit Set Carry Set direct bit Complement carry Complement direct bit AND direct bit and carry AND direct bit inverse to carry OR direct bit and carry OR direct bit inverse to carry Move direct bit to carry Move carry to direct bit 1 2 1 2 1 2 2 2 2 2 2 2 1 2 1 2 1 2 2 2 2 2 2 2
REV. PrB
-13-
PRELIMINARY TECHNICAL DATA ADUC842
I 2C-COMPATIBLE INTERFACE
The ADUC842 supports a fully licensed* I2C serial interface. The I2C interface is implemented as a full hardware slave and software master. SDATA is the data I/O pin and SCLOCK is the serial clock. These two pins are shared with the MOSI and SCLOCK pins of the on-chip SPI interface.
To enable the I2C interface the SPI interface must be turned off (see SPE in SPICON previously) OR the SPI interface must be moved to P3.3, P3.4 and P3.5 via the CFG841.1 bit. Application Note uC001 describes the operation of this interface as implemented is available from the MicroConverter Website at www.analog.com/ microconverter. Three SFRs are used to control the I2C interface. These are described below: I2CCON: SFR Address Power-On Default Value Bit Addressable I2C Control Register E8H 00H Yes
Table I2CCON SFR Bit Designations Master Mode
Bit 7 MDO
Name
2
Description
6
MDE
5
MCO
4
MDI
3
I2CM
2 1 0
----------
I C Software Master Data Output Bit (MASTER MODE ONLY). This data bit is used to implement a master I2C transmitter interface in software. Data written to this bit will be outputted on the SDATA pin if the data output enable (MDE) bit is set. I2C Software Master Data Output Enable Bit (MASTER MODE ONLY). Set by user to enable the SDATA pin as an output (Tx). Cleared by the user to enable SDATA pin as an input (Rx). I2C Software Master Clock Output Bit (MASTER MODE ONLY). This data bit is used to implement a master I2C transmitter interface in software. Data written to this bit will be outputted on the SCLOCK pin. I2C Software Master Data Input Bit (MASTER MODE ONLY). This data bit is used to implement a master I2C receiver interface in software. Data on the SDATA pin is latched into this bit on SCLOCK if the Data Output Enable (MDE) bit is `0.' I2C Master/Slave Mode Bit. Set by user to enable I2C software master mode. Cleared by user to enable I2C hardware slave mode. RSVD RSVD RSVD Table I2CCON SFR Bit Designations Slave Mode
Bit 7 I2CSI
Name
2
Description
6
I2CGC
5 4
I2CID1 I2CID0
3
I2CM
2
I2CRS
1
I2CTX
I C Stop Interrupt Enable Bit. Set by the user to enable I2C stop interrupts. If set a stop bit that follows a valid start condition will generate an interrupt. Cleared by the user to disable I2C stop interrupts. I2C General Call Status Bit Set by hardware after receiving a general call address. Cleared by the user. I2C Interrupt Decode Bits. Set by hardware to indicate the source of an I2C interrupt 00 Start and Matching Address 01 Repeated Start and Matching Address 10 User Data 11 Stop after a Start and Matching Address I2C Master/Slave Mode Bit. Set by user to enable I2C software master mode. Cleared by user to enable I2C hardware slave mode. I2C Reset Bit (SLAVE MODE ONLY). Set by user to reset the I2C interface. Cleared by user code for normal I2C operation. I2C Direction Transfer Bit (SLAVE MODE ONLY). Set by the MicroConverter if the interface is transmitting. -14- Rev.PrB
PRELIMINARY TECHNICAL DATA ADUC842
0 I2CI Cleared by the MicroConverter if the interface is receiving. I 2C Interrupt Bit (SLAVE MODE ONLY). Set by the MicroConverter after a byte has been transmitted or received. Cleared automatically when user code reads the I2CDAT SFR (see I2CDAT below).
I2CADD Function
I2C Address Register Holds the first I2C peripheral address for the part. It may be overwritten by user code. Technical NoteuC001 at www.analog.com/microconverter describes the format of the I2C standard 7-bit address in detail. 9BH 55H No I2C Address Register Holds the second I2C peripheral address for the part. It may be overwritten by user code. 91H 00H No I2C Address Register Holds the third I2C peripheral address for the part. It may be overwritten by user code. 92H 00H No I2C Address Register Holds the fourth I2C peripheral address for the part. It may be overwritten by user code. 93H 00H No
I2C Data Register
SFR Address Power-On Default Value Bit Addressable I2CADD1 Function SFR Address Power-On Default Value Bit Addressable I2CADD2 Function SFR Address Power-On Default Value Bit Addressable I2CADD3 Function SFR Address Power-On Default Value Bit Addressable
I2CDAT
Function
The I2CDAT SFR is written by the user to transmit data over the I2C interface or read by user code to read data just received by the I2C interface. Accessing I2CDAT automatically clears any pending I2C interrupt and the I2CI bit in the I2CCON SFR. User software should only access I2CDAT once perinterrupt cycle. SFR Address 9AH Power-On Default Value 00H Bit Addressable No
* Purchase of licensed I 2 C components of Analog Devices or one of its sublicensed Associated Companies conveys a license for the purchaser under the Philips I 2 C Patent Rights to use the ADUC842 in an I 2C system, provided that the system conforms to the I 2 C Standard Specification as defined by Philips.
REV. PrB
-15-
PRELIMINARY TECHNICAL DATA ADUC842
The main features of the MicroConverter I2C interface are: - Only two bus lines are required; a serial data line (SDATA) and a serial clock line (SCLOCK). - An I 2 C master can communicate with multiple slave devices. Because each slave device has a unique 7-bit address then single master/slave relationships can exist at all times even in a multi slave environment - Ability to respond to 4 seperate addresses when operating in slave mode - An I 2 C slave can respond to repeated start conditions without a stop bit in between. This allows a master to change direction of transfer without giving up the bus. - On-Chip filtering rejects <50ns spikes on the SDATA and the SCLOCK lines to preserve data integrity. acknowledge bits, data bytes and STOP conditions appropriately. These functions are provided in tech note uC001. Hardware Slave Mode After reset the ADUC842 defaults to hardware slave mode. The I2C interface is enabled by clearing the SPE bit in SPICON. Slave mode is enabled by clearing the I2CM bit in I2CCON. The ADUC842 has a full hardware slave. In slave mode the I2C address is stored in the I2CADD register. Data received or to be transmitted is stored in the I2CDAT register. Once enabled in I2C slave mode the slave controller waits for a START condition. If the ADUC842 detects a valid start condition, followed by a valid address, followed by the R/W bit the I2CI interrupt bit will get automatically set by hardware. The I2C peripheral will only generate a core interrupt if the user has pre-configured the I2C interrupt enable bit in the IEIP2 SFR as well as the global interrupt bit EA in the IE SFR. i.e.
; Enabling I2C MOV IEIP2,#01h SETB EA
I2 C SLAVE#1
DV DD
Interrupts for the ADuC831 ; enable I2C interrupt
I2 C MA STER
On the ADuC841 an auto-clear of the I2CI bit is implemented so this bit is cleared automatically on a read or write access to the I2CDAT SFR.
MOV MOV I2CDAT, A A, I2CDAT ; I2CI auto-cleared ; I2CI auto-cleared
I2 C SLAVE#2
Figure 36. Typical I2C System
If for any reason the user tries to clear the interrupt more than once i.e. access the data SFR more than once per interrupt then the I2C controller will halt. The interface will then have to be reset using the I2CRS bit. The user can choose to poll the I2CI bit or enable the interrupt. In the case of the interrupt the PC counter will vector to 003BH at the end of each complete byte. For the first byte when the user gets to the I2CI ISR the 7-bit address and the R/W bit will appear in the I2CDAT SFR. The I2CTX bit contains the R/W bit sent from the master. If I2CTX is set then the master would like to receive a byte. Hence the slave will transmit data by writing to the I2CDAT register. If I2CTX is cleared the master would like to transmit a byte. Hence the slave will receive a serial byte. Software can interrogate the state of I2CTX to determine whether is should write to or read from I2CDAT. Once the ADUC842 has received a valid address, hardware will hold SCLOCK low until the I2CI bit is cleared by software. This allows the master to wait for the slave to be ready before transmitting the clocks for the next byte. The I2CI interrupt bit will be set every time a complete data byte is received or transmitted provided it is followed by a valid ACK. If the byte is followed by a NACK an interrupt is NOT generated. The ADUC842 will continue to issue interrupts for each complete data byte transferred until a STOP condition is received or the interface is reset. When a STOP condition is received, the interface will reset to a state where it is waiting to be addressed (idle). Similarly, if the interface receives a NACK at the end of a sequence it also returns to the default idle state. The I2CRS bit can be used to reset the I2C interface. This bit can be used to force the interface back to the default idle state. Rev.PrB
Software Master Mode The ADuC841 can be used as a I2C master device by configuring the I2C peripheral in master mode and writing sotware to output the data bit by bit. This is referred to as a software master. Master mode is enabled by setting the I2CM bit in the I2CCON register. To transmit data on the SDATA line, MDE must be set to enable the output driver on the SDATA pin. If MDE is set then the SDATA pin will be pulled high or low depending on whether the MDO bit is set or cleared. MCO controls the SCLOCK pin and is always configured as an output in master mode. In master mode the SCLOCK pin will be pulled high or low depending on the whether MCO is set or cleared. To receive data, MDE must be cleared to disable the output driver on SDATA. Software must provide the clocks by toggling the MCO bit and read SDATA pin via the MDI bit. If MDE is cleared MDI can be used to read the SDATA pin. The value of the SDATA pin is latched into MDI on a rising edge pf SCLOCK. MDI is set if the SDATA pin was high on the last rising edge of SCLOCK. MDI is clear if the SDATA pin was low on the last rising edge of SCLOCK. Software must control MDO, MCO and MDE appropriately to generate the START condition, slave address,
-16-
PRELIMINARY TECHNICAL DATA ADUC842
OUTLINE DIMENSIONS
Dimensions shown in inches and (mm).
52-Lead Plastic Quad Flatpack (S-52)


64

3, 1

6($7,1* 3/$1(
723 9,(:
3,16 '2:1

64



%6&

56Lead Chip Scale Package(CP-56)

BSC SQ
3,1 ,1',&$725

723 9,(:
%6& 64

0,1

43 42
56 1
%27720 9,(:
64

29 28
5()
14 15
R 0$;
0$; 120
%6&
0$; 120

5()

REV. PrB
-17-
This datasheet has been download from: www..com Datasheets for electronics components.


▲Up To Search▲   

 
Price & Availability of ADUC842

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X